<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
		<!-- Title here -->
		<!-- Javascript files -->
		<!-- jQuery -->
		<script src="/thinkphp1/Public/js/jquery.js"></script>
		<!-- Bootstrap JS -->
		<script src="/thinkphp1/Public/js/bootstrap.min.js"></script>
		<!-- jquery Anchor JS -->
		<script src="/thinkphp1/Public/js/jquery.arbitrary-anchor.js"></script>
		<!-- jQuery way points -->
		<script src="/thinkphp1/Public/js/waypoints.min.js"></script>
		<!-- Respond JS for IE8 -->
		<script src="/thinkphp1/Public/js/respond.min.js"></script>
		<!-- HTML5 Support for IE -->
		<script src="/thinkphp1/Public/js/html5shiv.js"></script>
		<!-- Custom JS -->
		<script src="/thinkphp1/Public/js/custom.js"></script>
		<meta  charset="utf-8" />

		<title>MZ2_SHOP</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link href="/thinkphp1/Public/Css/bootstrap.min.css" rel="stylesheet">
		<!-- Font awesome CSS -->
		<link href="/thinkphp1/Public/Css/font-awesome.min.css" rel="stylesheet">	
		<!-- Animate CSS -->
		<link href="/thinkphp1/Public/Css/animate.min.css" rel="stylesheet">
		<!-- Custom CSS -->
		<link href="/thinkphp1/Public/Css/style.css" rel="stylesheet">	
	</head>
	<body>
		<div class="outer">
			<!-- Sidebar Start-->
			<!-- Menu for tablets and mobile -->
			<div class="navigation">
				<a href="#">Menu</a>
			</div>
			
			<div class="sidebar">
				<!-- Logo of company -->
				<div class="logo text-center">
					<h1><a href="<?php echo U('Index/index');?>">WEAK</a></h1>
					<p>Team of WEAK</p>
				</div>
				
				<!-- Navigation menu list -->
				
				<ul class="list-unstyled list">
					<?php if(empty($login)): ?><li>
					<a href="<?php echo U('login');?>" class="anchorLink"><i class="icon-road scolor"></i>登录</a>
					</li>
					<li>
					<a href="<?php echo U('reg');?>" class="anchorLink"><i class="icon-road scolor"></i>注册</a>
					</li>
					<?php else: ?>
					<li>
					<a href="<?php echo U('User/index',['id'=>$login['id']]);?>" style="text-transform:none;"><i class="icon-road scolor"></i><span style="color:#fff;">欢迎<?php echo ($login['name']); ?></span></a>
					</li>
					<li>
					<a href="<?php echo U('loginout');?>" class="anchorLink"><i class="icon-road scolor"></i>退出</a>
					</li><?php endif; ?>
					<li><a href="<?php echo U('index');?>" class="anchorLink"><i class="icon-home scolor"></i>主页</a></li>
					<li><a href="#.team" class="anchorLink"><i class="icon-user scolor"></i>热销</a></li>
					<li><a href="#.service" class="anchorLink"><i class="icon-retweet scolor"></i>新品</a></li>
				</ul>
				
		</div>
		
			
			<!-- Sidebar End -->
			
			<!-- Main Start -->
			
			<div class="main">
			
				<div id="carousel-example-generic" class="carousel slide carousel-fade">
				   
					<!-- Wrapper for slides -->
					
					<div class="carousel-inner">
						<!-- Carousel item start -->
						<div class="item active">
							<!-- Carousel background images -->
							<img src="/thinkphp1/Public/img/3.jpg" class="img-responsive" alt="" />
							<div class="carousel-caption">
								<div class="row">
									<div class="col-md-6">
										<!-- Images for carousel foreground -->
										<img src="/thinkphp1<?php echo ($addverlist[0]['name']); ?>" width="473px" height="289px" alt="" class="img-responsive" />
									</div>
									<div class="col-md-6">
										<!-- Carousel caption -->
										<div class="caption-content">
											<h3>CNIT.PRO</h3>
											<p>一支非盈利性质信息安全团队,由一帮不务正业的DIAOSI组成,玩我们爱玩的,顺便能为信息安全事业做出点贡献,想来也是极好的！</p>
										</div>
									</div>
								</div>
							</div>
						</div>
				  
						<div class="item">
							<img src="/thinkphp1/Public/img/3.jpg"  class="img-responsive" alt=""/>
							<div class="carousel-caption">
								<div class="row">
									<div class="col-md-6">
										<img src="/thinkphp1<?php echo ($addverlist[1]['name']); ?>" width="473px" height="289px" alt="" class="img-responsive" />
									</div>
									<div class="col-md-6">
										<div class="caption-content">
											<h3>我申请，加入你的人生</h3>
											<p>其实，我一直都在你身后，就差你一个回头.</p>
										</div>
									</div>
								</div>
							</div>
						</div>
				  
						<div class="item">
							<img src="/thinkphp1/Public/img/3.jpg"  class="img-responsive" alt=""/>
							<div class="carousel-caption">
								<div class="row">
									<div class="col-md-6">
										<img src="/thinkphp1<?php echo ($addverlist[2]['name']); ?>" width="473px" height="289px" alt="" class="img-responsive" />
									</div>
									<div class="col-md-6">
										<div class="caption-content">
											<h3>逆·态度</h3>
											<p>竹以直而美，人以正而优！</p>
										</div>
									</div>
								</div>	
							</div>
						
						</div>

					</div>
					
					<!-- Controls -->

					<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
						<span class="icon-prev"></span>
					</a>
					<a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
						<span class="icon-next"></span>
					</a>
				</div>
				
				<!-- Wrapper for slides End -->
				
				
				
				<div class="container">
				
					<!-- Start Hero -->
					
					<div class="hero">
						<div class="row">
								<h2>WE TEAM</h2>
								<p>一个新生的团队，年纪很轻，能力很强，笑点很低，效率很高的团队.</p>
						</div>
					</div>
					<hr />
					
					<!-- Hero End -->
					
					<!-- Start team profile -->
					<div class="team">
						<a href="<?php echo U('more',['hot'=>1]);?>"><h3>热销商品</h3></a>
						<div class="bor hidden-xs"></div>
						<div class="row">
							<?php if(is_array($hotlist)): foreach($hotlist as $key=>$val): ?><div class="col-md-3 col-sm-6">
									<!-- Team member's profile  -->
									<div class="thumbnail team-profile">
										<a href="<?php echo U('detail',['id'=>$val['gid']]);?>"><img src="/thinkphp1<?php echo ($val['giname']); ?>"  alt="" class="img-responsive img-circle" />
										</a>
										<!-- Member's name and designation -->
										<h5>商品名:<?php echo ($val['gname']); ?></h5>
										<h5>分类:<?php echo ($val['cname']); ?></h5>
										<span>价格:<?php echo ($val['gp']); ?></span>
									</div>
								</div><?php endforeach; endif; ?>
						</div>	
					</div>
					<hr />
					
					<!-- Team profile End --> 
						
					<!-- Services start -->
					<div class="service">
						<a href="<?php echo U('more',['new'=>1]);?>"><h3>新品</h3></a>
						<div class="bor hidden-xs"></div>
						<div class="row">
							<?php if(is_array($newlist)): foreach($newlist as $key=>$value): ?><div class="col-md-3 col-sm-6">
									<!-- Team member's profile  -->
									<div class="thumbnail team-profile">
										<a href="<?php echo U('detail',['id'=>$value['gid']]);?>"><img src="/thinkphp1<?php echo ($value['giname']); ?>"  alt="" class="img-responsive img-circle" />
										</a>
										<!-- Member's name and designation -->
										<h5>商品名:<?php echo ($value['gname']); ?></h5>
										<h5>分类:<?php echo ($value['cname']); ?></h5>
										<span>价格:<?php echo ($value['gp']); ?></span>

									</div>
								</div><?php endforeach; endif; ?>
						</div>
					</div>
					
					<!-- Testimonials End -->
					
					
					<!-- Price Table End -->
					
					<!-- Contact Start -->
					
			
							<!-- Address -->
							
					<!-- Contact End -->
					
					<!-- Footer -->
				<footer>
					<div class="row">
						<div class="col-md-12">
							<hr />
							<br />
							<!-- You should not remove the footer link back. -->
							<p class="text-center">CNIT &copy; by CNIT.PRO  </p>
							<br />
						</div>
					</div>
				</footer>
				
				</div>
				
				
				
			</div>	<!-- This end div for main class -->
		</div>
		
		<div class="clearfix"></div>
		
		
		<!-- Scroll to top -->
      <span class="totop"><a href="#"><i class="icon-chevron-up"></i></a></span> 
	<div style="text-align:center;">
<p>来源：<a href="" target="_blank">源码之家</a></p>
</div>
</body>
</html>